<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Login System</title>
    <!-- link rel="stylesheet" type="text/css" th:href="@{/css/registration.css}" /-->
    <link crossorigin="anonymous" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" href="https://lib.baomitu.com/twitter-bootstrap/3.4.1/css/bootstrap.min.css" rel="stylesheet">
    <script crossorigin="anonymous" integrity="sha512-894YE6QWD5I59HgZOGReFYm4dnWc1Qt5NtvYSaNcOP+u1T9qYdvdihz0PPSiiqn/+/3e7Jo4EaG7TubfWGUrMQ==" src="https://lib.baomitu.com/jquery/3.6.0/jquery.min.js"></script>
    <script crossorigin="anonymous" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" src="https://lib.baomitu.com/twitter-bootstrap/3.4.1/js/bootstrap.min.js"></script>

    <style type="text/css">

        *{
            font-family:"microsoft yahei";
        }

        /*<a href="https://imgtu.com/i/owUg41"><img src="https://s4.ax1x.com/2021/12/04/owUg41.md.png" alt="owUg41.png" border="0" /></a>*/
        body{
            background-image: url("https://s4.ax1x.com/2021/12/04/owUg41.md.png");
            background-size: cover;
        }

        .two{
            width: 700px;
            height: 250px;
            top: 40%;
            position: absolute;
            left: 45%;
            right: 25%;
            bottom: 25%;
            border-radius: 25%;
            background-color: rgba(112, 50, 99, 0.2);

        }

        .three{
            width: 300px;
            height: 200px;
            position: absolute;


        }

        .four{

            width: 300px;
            height: 200px;
            float: right;

        }

       .smallone{

            text-align: center;
            width: 400px;
            height: 100px;
            padding-top: 80px;

        }

        .smalltwo{

            text-align: center;
            width: 100px;
            height: 300px;
            padding-top: 100px;

        }

        .form-control{
            width: 5cm;
            margin-left: 20px;
            background-color: rgba(112, 50, 99, 0.6);
        }

        .form-control{
            width: 5cm;
            margin-top: 3px;
            margin-left: 20px;
            background-color: rgba(112, 50, 99, 0.6);
        }

        .seven{

            width: 2cm;
            background-color:rgba(112, 50, 99, 0.6);
            text-align: center;
            margin-left: 70px;
            margin-top: 5px;

        }

    </style>

</head>

<body >

<div>

    <div class="two">
        <form autocomplete="off" th:action="@{/register/save}" th:object="${userAccount}" method="post" class="form-signin" role="form">

            <div class="three">
                <div class="smallone">
                    <h2>Welcome<p>师生信息管理系统</p></h2>
                </div>
            </div>

            <div class= "four">
                <div class="smalltwo">
                    <input type="text" th:field="*{userName}" placeholder="用户名" class="form-control" />
                    <input type="password" th:field="*{password}" placeholder="密码" class="form-control" />
                    <button type="submit" class="seven">注册用户</button>
                </div>
                </div>


            <div class= "five">



            </div>

            <input type="hidden" name="_csrf" th:value="${_csrf.token}">

            <div class="">



            </div>
            <!-- <span th:utext="${successMessage}"></span> -->
        </form>
    </div>
</div>
</body>
</html>